//
//  FoodListLeftTableViewCell.m
//  FaceRecognition
//
//  Created by syun on 2018/2/1.
//  Copyright © 2018年 Sylar. All rights reserved.
//

#import "FoodListLeftTableViewCell.h"

@implementation FoodListLeftTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        _rightLabel = [[UILabel alloc]initWithFrame:CGRectMake(5, 25, 125, 30)];
        _rightLabel.textAlignment = NSTextAlignmentCenter;
       _rightLabel.textColor = [UIColor colorWithHexString:@"4c4e4c"];
        _rightLabel.highlightedTextColor = [UIColor colorWithHexString:@"fe7d52"];
        [self.contentView addSubview:_rightLabel];
        
        _leftLable = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 5, 80)];
        _leftLable.backgroundColor = [UIColor colorWithHexString:@"fe7d52"];
        _leftLable.layer.cornerRadius = 5;
        _leftLable.clipsToBounds = YES;
        _leftLable.hidden = YES;
        [self.contentView addSubview:_leftLable];
    }
    
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
